package com.prime.tutorial.moviestore.view.logistics;

import com.prime.tutorial.moviestore.service.logistics.LogisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Provides devices planned for installation
 * Created by IntelliJ IDEA.
 * Users: me
 * Date: 14 бер 2010
 * Time: 13:46:29
 * @author iryna.masyuk
 */
@Component("listDevicesPlannedInstallation")
@Scope("request")
public class ListDevicesPlannedInstallation {
    private LogisticsService logisticsService;


     @Autowired
     public ListDevicesPlannedInstallation(LogisticsService logisticsService) {
        this.logisticsService = logisticsService;
     }
     public List getDevicesPlannedInstallation(){
        // List l = new ArrayList();
        return logisticsService.getDevicesPlannedInstallation();
        // return l;
     }
    

}
